<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>后台--文章管理</title>
    <link rel="stylesheet" type="text/css" href="<?php echo isset($skin)?$skin:"";?>images/style.css" />
    <base target="_self"/>

    <script src='<?php echo isset($skin)?$skin:"";?>js/jquery.min.js'></script>
    <script type="text/javascript" src="<?php echo isset($skin)?$skin:"";?>js/jquery.form.min.js"></script>
    <script type="text/javascript" src="<?php echo isset($skin)?$skin:"";?>js/dist/dialog-min.js"></script>
    <script src="<?php echo isset($skin)?$skin:"";?>js/admin.js"></script>
    <script type="text/javascript">
        <!--
        $(document).ready(function () {
            $('.new_table tbody tr:even').addClass('h'); //奇偶变色，添加样式
        });
        //-->
    </script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>/js/validate.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/artTemplate.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/artTemplate-plugin.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/form.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/artDialog.js"></script>
<script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/iframeTools.js"></script>
<link rel="stylesheet" href="<?php echo isset($skin)?$skin:"";?>js/artdialog.css" type="text/css">
</head>
<body>
<div class="hh6"></div>
<div class="searchbar">

</div>
<table class="new_table" width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
	<thead>
<tr class="n_bt"><td colspan="10" align="center">工作小助手系统</td></tr>
  <tr>
  <td height="28" align="center"  class="thbt">编号</td>
    <td height="28" align="center"  class="thbt">设备类型</td>
    <td height="28" align="center"  class="thbt">设备名称</td>
    <td height="28" align="center"  class="thbt">品牌</td>
    <td height="28" align="center"  class="thbt">型号</td>
    <td height="28" align="center"  class="thbt">设备状态</td>
    <td height="28" align="center"  class="thbt">产权归属</td>
    <td height="28" align="center"  class="thbt">运维责任人</td>
    <td height="28" align="center"  class="thbt">领用人</td>
    <td height="28" align="center"  class="thbt">IP</td>

  </tr></thead>

  <?php if(is_array($list))  foreach($list as $v) { ?>
  <tr>
    <td width='4%'  class="hr" align="center" ><?php echo isset($v->id)?$v->id:"";?></td>
    <td  class="hr" align="center"><?php echo isset($v->type_name)?$v->type_name:"";?></td>
    <td  class="hr" align="center"><a href="?c=device&a=view&id=<?php echo isset($v->id)?$v->id:"";?>"><?php echo isset($v->name)?$v->name:"";?></a></td>
    <td  class="hr" align="center"><?php echo isset($v->brand_name)?$v->brand_name:"";?></td>
    <td  class="hr" align="center"><?php echo isset($v->model)?$v->model:"";?></td>
    <td  class="hr" align="center"><?php echo isset($v->status_name)?$v->status_name:"";?></td>
    <td  class="hr" align="center"><?php echo isset($v->cq_name)?$v->cq_name:"";?></td>
    <td  class="hr" align="center"><?php echo isset($v->use_user_name)?$v->use_user_name:"";?></td>
    <td  class="hr" align="center"><?php echo isset($v->person)?$v->person:"";?></td>
    <td  class="hr" align="center"><?php echo isset($v->ip)?$v->ip:"";?></td>
  </tr>
  <?php }?>
</table>
<div class="pages"><?php echo isset($pagelist)?$pagelist:"";?></div>

<script type="text/javascript">
    <!--
    $(document).ready(function () {
        $('.new_table tbody tr:even').addClass('h'); //奇偶变色，添加样式
    });

    //-->
</script>
</body>
</html>